﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PostDetail.ascx.cs" Inherits="Modules_Posts_Controls_PostDetail" %>
<%@ Register Src="../../Captcha/NumCaptcha.ascx" TagName="NumCaptcha" TagPrefix="uc1" %>
<asp:Repeater ID="rpt" runat="server">
    <ItemTemplate>
        <div class="breacum">
            <span class="icon_home"></span>
            <ul>
                <li><a href="#" title="Trang chủ">Trang chủ</a></li>
                <li><a href="phat-phap-6/" title="Phật pháp">Phật pháp</a></li>
                <li><a href="#" title="Bước đầu học phật">Bước đầu học phật</a></li>
                <li><a href="#" title="Đức tin &amp; cầu nguyện">Đức tin &amp; cầu nguyện</a></li>
            </ul>
        </div>
        <h1 class="title_dm_details">
            <%#Eval("Title") %></h1>
        <div>
            <p class="date-time">
                <%#FormatString.DateTimeToString(Eval("ModifiedDate").ToString()) %></p>
            <div class=" iface">
                 <div class="fb_edge_widget_with_comment fb_iframe_widget" style="float: left; padding-right: 20px;
                padding-top: 3px;">
                <a name="fb_share" type="button_count" share_url='<%=Wp.BLL.TblOptionManager.CreateInstant().GetDomainName() + Request.RawUrl %>'>
                </a>
                <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript">
                </script>
            </div>
            <div class="fb-like" data-send="false" data-layout="button_count" data-width="450"
                data-show-faces="true" style="float: left; padding-top: 2px;">
            </div>
            <div class="fb_edge_widget_with_comment fb_iframe_widget" style="float: left">
                <span class='st_plusone_hcount' displaytext='G+'></span><span class='st_twitter_hcount'
                    displaytext='Tweet'></span><span class='st_linkedin_hcount' displaytext='LinkedIn'>
                </span><span class='st_email_hcount' displaytext='Email'></span>
            </div>
            <div style="clear: both">
            </div></div>
        </div>
        <div class="frame_details_nd">
            <%#Eval("Description") %>
        </div>
        <div>
            <div class="fb_edge_widget_with_comment fb_iframe_widget" style="float: left; padding-right: 20px;
                padding-top: 3px;">
                <a name="fb_share" type="button_count" share_url='<%=Wp.BLL.TblOptionManager.CreateInstant().GetDomainName() + Request.RawUrl %>'>
                </a>
                <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript">
                </script>
            </div>
            <div class="fb-like" data-send="false" data-layout="button_count" data-width="450"
                data-show-faces="true" style="float: left; padding-top: 2px;">
            </div>
            <div class="fb_edge_widget_with_comment fb_iframe_widget" style="float: left">
                <span class='st_plusone_hcount' displaytext='G+'></span><span class='st_twitter_hcount'
                    displaytext='Tweet'></span><span class='st_linkedin_hcount' displaytext='LinkedIn'>
                </span><span class='st_email_hcount' displaytext='Email'></span>
            </div>
            <div style="clear: both">
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
<br />
<br />
<%--end comment--%>
<p class="tags">
    Tags
    <asp:Repeater ID="rptposttags" runat="server">
        <ItemTemplate>
            <a rel="tag" href="<%#UrlBuilder.GetTags(Eval("Slug").ToString()) %>" style="display: inline-table">
                <%#Eval("Name")%></a>
        </ItemTemplate>
    </asp:Repeater>
</p>
 <div class="orther-news">
    <h2>
        Các tin khác</h2>
    <ul>
        <asp:Repeater ID="rptviewmore" runat="server">
            <ItemTemplate>
                <li><a href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString(),Eval("CreatedDate")) %>"
                    rel="bookmark" title="Permanent Link to <%#Eval("Title") %>">
                    <%#Eval("Title") %></a></li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
</div>
